import request from '@/utils/request'
// import qs from 'qs'

export const aliyunImagUploadAddressAdnAuth = () =>
  request({
    method: 'GET',
    url: '/boss/course/upload/aliyunImagUploadAddressAdnAuth.json'

  })

export const aliyunVideoUploadAddressAdnAuth = (params: any) =>
  request({
    method: 'GET',
    url: '/boss/course/upload/aliyunVideoUploadAddressAdnAuth.json',
    params
  })

export const aliyunTransCode = (data: any) =>
  request({
    method: 'POST',
    url: '/boss/course/upload/aliyunTransCode.json',
    data
  })

export const aliyunTransCodePercent = (params: any) =>
  request({
    method: 'GET',
    url: '/boss/course/upload/aliyunTransCodePercent.json',
    params

  })
